<template>
  <iframe :src="iframeUrl" frameborder="0" ></iframe>
</template>

<script setup>
import { useRoute } from 'vue-router';
const route = useRoute();

const iframeUrl = computed(() => {
  return route.query.url + route.hash;
})
</script>

<style lang="scss" scoped>
iframe{
  width: 100%;
  height: calc(100vh - 70px);
  box-sizing: border-box;
}

</style>